Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add checks for overflow in schedulers #124

Merged
merged 6 commits into from
Nov 26, 2023
Merged

Add checks for overflow in schedulers #124

merged 6 commits into from
Nov 26, 2023

Conversation

computablee
Copy link
Owner

Which issue are you addressing?

Closes #115

How have you addressed the issue?

There are now checked { } regions around relevant parts of the schedulers, and a try/catch to rethrow an InternalSchedulerException if an overflow is detected.

How have you tested your patch?

Boundary_parallelfor_should_except has been added to the tests, and passes.

Copy link

codecov bot commented Nov 26, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (4203bdd) 99.25% compared to head (94200ed) 99.26%.
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #124      +/-   ##
==========================================
+ Coverage   99.25%   99.26%   +0.01%     
==========================================
  Files          12       12              
  Lines        1341     1360      +19     
  Branches      146      146              
==========================================
+ Hits         1331     1350      +19     
  Misses          5        5              
  Partials        5        5              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@computablee computablee merged commit 2db30d0 into main Nov 26, 2023
5 checks passed
@computablee computablee deleted the bug-fixes branch November 26, 2023 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] No exception thrown for overflow in loop indices and schedulers
1 participant